/*
 * MainMenuCallback.h
 *
 *  Created on: 2011-03-30
 *      Author: tmacyszyn
 */

#ifndef MAINMENUCALLBACK_H_
#define MAINMENUCALLBACK_H_

#include <HitTheLines.h>
#include <Screens/PlayArcadeScreen.h>
#include <Screens/PlayChallengeScreen.h>

void playArcadeHandler(void* instance)
{
	AppLog("playArcadeHandler");
	PlayArcadeScreen* newScreen = static_cast<PlayArcadeScreen*>(new PlayArcadeScreen);
	if(newScreen)
		HitTheLines::getInstance()->PushScreen(newScreen);
	else
		AppLog("Failed to add new screen");
}

void playChallengeHandler(void* instance)
{
	AppLog("playChallengeHandler");
	PlayChallengeScreen* newScreen = static_cast<PlayChallengeScreen*>(new PlayChallengeScreen);
	if(newScreen)
		HitTheLines::getInstance()->PushScreen(newScreen);
	else
		AppLog("Failed to add new screen");
}

void highscoresHandler(void* instance)
{
	AppLog("highscoresHandler");
}

void aboutHandler(void* instance)
{
	AppLog("aboutHandler");
}

#endif /* MAINMENUCALLBACK_H_ */
